#f21010631 徐唯嘉
import cv2
import matplotlib.pyplot as plt

img_cat=cv2.imread('cat.jpg')
img_dog=cv2.imread('dog.jpg')
img_dog = cv2.resize(img_dog, (2000, 1668))
print(img_cat.shape)
print(img_dog.shape)
res = cv2.addWeighted(img_cat,  0.4, img_dog, 0.6,0)
res_rgb = cv2.cvtColor(res, cv2.COLOR_BGR2RGB)
plt.imshow(res_rgb)
plt.show()